#ifndef DLINK_H
#define DLINK_H

#include <stdio.h>
#include <stdlib.h>
#include "util.h"
typedef struct DNode
{
    ElemType data;
    struct DNode *prior, *next;
} DNode, *DLinkList;

void insert(DLinkList list, ElemType e)
{
    DNode *s = (DNode *)malloc(sizeof(DNode));
    s->next = list->next;
    list->next->prior = s;
    s->prior = list;
    list->next = s;
}

void delete (DLinkList list, ElemType e)
{
}
#endif /* DLINK_H */